#include "common.h"
#ifndef CLIENT_H
	#define CLIENT_H

ssize_t readline(int fd,void *buf,int size);

ssize_t writeline(int fd,const void *buf,int size);

int login(PK_REQUEST *rq,int sock);

//int send_packet(int sockfd,PK_COMMON *pack,int pack_size);

//int recv_packet(int sockfd,PK_COMMON *pack,int pack_size);

void *thread_send(void *arg);

void *thread_recv(void *arg);

#endif

